Skip to main content

/refund

Request body:

FieldTypeRequiredFormat / constraints
documentIDinteger (int64)NoInternal document id
documentExtIDstringNoExternal document id
docTimestringNoyyyy-MM-dd HH:mm:ss
docNumberstringNoExternal document number
employeeNamestringNoCashier name
employeeFirstNamestringNoUsed when employeeName is empty
employeeLastNamestringNoUsed when employeeName is empty
itemsarray of item objectsYesMust be non-empty
paymentsobjectNoPayment split object
extraPaymentsarray of extra payment objectsNoAdditional payment entries
parentDocIDstringNoOriginal sale reference
parentDocNumstringNoOriginal sale number

Success response: same field set and value rules as /sale.